<?php

use Pinenut\Model2\Embedded\Reference;
/**
 * Связь с весом
 * 
 * @author kosh
 */
class WeightReference extends Reference {

	public $sum;
	public $count;
	
	function fields() {
		return array_merge(parent::fields(), array(
				'sum'=>static::INT,
				'count'=>static::INT,				
		));
	}
}